package com.ssmbook2020.service;

import java.util.List;

import com.ssmbook2020.bean.BookBean;

public interface BookService {
	
   public List<BookBean> getAllBook(); //查询所有图书
	
	public int getGoodsCount();//查询所有图书的数量
	
	public BookBean getBookById(String bookId);
	
	public int addBook(BookBean bookBean);
	
	public int updateBook(BookBean bookBean,String bookId);

}
